/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pokerSaloon;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

import pokerSaloon.model.Tableau;
import pokerSaloon.model.User;


/**
 * @author  Administrateur
 */
public interface InterPartie extends Remote {


    public boolean rejoindre(User user) throws RemoteException;

    public String getNom() throws RemoteException;

//    public void getJoueur(InterJoueur user) throws RemoteException;
//
    public void deconnecter(User user) throws RemoteException;

    public int getNB_JOUEURS_MAX() throws RemoteException;

    public int getCAVE_INITIAL() throws RemoteException;

    public int getVAL_BIG_BLIND() throws RemoteException;
    
    public ArrayList<User> getUsers() throws RemoteException;
    
    public User getCreateur()  throws RemoteException ;
    
    public Tableau getBoard() throws RemoteException ;
    
    public boolean isEnCours() throws RemoteException;
    
    public int getPot() throws RemoteException;

    public User getJoueurCourant() throws RemoteException ;
    
    public void toCheck(User user) throws RemoteException;

    public void toRaise(User user, int montant) throws RemoteException;

    public void toFold(User user) throws RemoteException;

    public int getMisePrec() throws RemoteException;

    public void lancerJeu() throws RemoteException;

//    public void getInfoJoueur() throws RemoteException;
//
//    public boolean isCheckPossible() throws RemoteException;
//
//    public void nouveauCoup() throws RemoteException;

    public void allin(User user) throws RemoteException;

//    public void getJoueur()throws RemoteException;
}
